---@class Sequence:AbstractComposite
Sequence = ClientFight.CreateClass("Sequence",ClientFight.AbstractComposite,ClientFight.ISequence)
function Sequence:update()
    for k,child in pairsByKeys(self.children) do
        local state = child:update()
        if state ~= EStatus.SUCCESS then
            return state
        end
    end
    return EStatus.SUCCESS
end